package com.xie.system;

import cn.hutool.extra.spring.EnableSpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @author gim
 */
@SpringBootApplication

@EnableDiscoveryClient
//@EnableElasticsearchRepositories(basePackages = "com.xie.system.infrastructure.elastic")
//hutool工具类
@EnableSpringUtil
@EnableJpaRepositories(basePackages = {"com.xie.system.domain"})
public class SystemCenterApplication {

  public static void main(String[] args) {
    SpringApplication.run(SystemCenterApplication.class, args);
  }

}
